/*
package com.yenlien.traceyun.business.controller;


import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.yenlien.traceyun.business.bean.RestURL;
import com.yenlien.traceyun.business.entity.Message;
import com.yenlien.traceyun.business.service.rest.RestService;
import com.yenlien.traceyun.webase.controller.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

*/
/**
 * Created by LiuSha on 2020/6/10.
 *//*

@RestController
@RequestMapping("/message")
public class MessageController extends BaseController {
    @Autowired
    private RestService restService;

    @RequestMapping(value = "/findByList", method = RequestMethod.POST)
    public Object findByList(@RequestBody Message message) {
        return buildPage(null);
    }

    //发送消息
    @RequestMapping(value = "/save", method = RequestMethod.POST)
    public Object save(@RequestBody Message message) {

        return success("success");
    }

    @RequestMapping(value = "/update", method = RequestMethod.POST)
    public Object update(@RequestBody Message message) {
        return success("success");
    }

    @RequestMapping(value = "/updateAll", method = RequestMethod.GET)
    public Object updateAll() {
        return success("success");
    }

    @RequestMapping(value = "/findById/{id}", method = RequestMethod.GET)
    public Object findById(@PathVariable String id) {
        return success("");
    }

    @RequestMapping(value = "/delete/{id}", method = RequestMethod.GET)
    public Object delete(@PathVariable String id) {
        return success("success");
    }

    @RequestMapping(value = "/getMessage", method = RequestMethod.GET)
    public Object getMessage() {
        return success("");
    }

}
*/
